{% extends '::base_v1.html.twig' %}
{% block header %}
    <!--响应式导航:基本导航组件+响应式-->
    <!--nav导航栏.navbar-fixed-top固定在顶部-->
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container" style="margin-top: 0.5rem;">
            <div class="navbar-header">
                <a href="{{ path('homepage') }}" class="navbar-brand">项目LOGO<img src="" alt=""></a>
                <!--配合屏幕缩小后的折叠button .navbar-toggle-->
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbarCollapse">
                    <span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                </button>
            </div>
            <!--加响应式折叠.collapse .navbar-collapse-->
            <div class="collapse navbar-collapse" id="navbarCollapse">
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <form action="{{ path('search') }}" class="navbar-form navbar-left" method="POST"  enctype="multipart/form-data" style="margin-top: 5px;">
                            <div class="input-group">
                                <input type="text" class="form-control"name="search" placeholder="请输入失踪人员姓名">
                                <div class="input-group-btn">
                                    <input type="submit" class="btn btn-success " id="btn" value="搜索">
                                </div>
                            </div>
                        </form>
                    </li>
                    <li {#class="active"#}><a href="{{ path('homepage') }}"><span class="glyphicon glyphicon-home"></span> 首页</a></li>
                    <li{% if person_active is defined %} class="active"{% endif %}><a href="{{ path('seek_search') }}"><span class="glyphicon glyphicon-eye-open"></span> 我要找人</a></li>
                    <li{% if note_active is defined %} class="active"{% endif %}><a href="{{ path('note_clue') }}"><span class="glyphicon glyphicon-fire"></span> 提供线索</a></li>
                    <li><a href="{{ path('info') }}"><span class="glyphicon glyphicon-leaf"></span> 资讯</a></li>
                    <li><a href="{{ path('case') }}"><span class="glyphicon glyphicon-list-alt"></span> 案例</a></li>
                    <li><a href="{{ path('about') }}"><span class="glyphicon glyphicon-question-sign"></span> 关于</a></li>
                </ul>
            </div>
        </div>
    </nav>
{% endblock header %}
{% block body %}

{% endblock %}
{% block footer %}
    <!--底部-->
    <footer id="footer">
        <div class="container">
            <p>版权投诉 | 合作事宜 | 关于</p>
            <p>Designed and built with all the love in the world by @hemu and @hemu. Maintained by the core team with the help of our contributors.</p>
            <p>本项目源码受 hemu开源协议保护。</p>
        </div>
    </footer>
{% endblock %}